/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: mirac
 * Date: 2025-07-15
 * Time: 22:44
 */
public class Main {
    public static void main(String[] args) {
        String s = "abcdef";
        String s1 = s.substring(2);
        System.out.println(s1);
        String s2 = s.substring(2,4);
        System.out.println(s2);
    }
}
